package com.example.uibestpractice;

public class Message {
    public final static int GET_MESSAGE = 1;
    public final static int SENT_MESSAGE = 2;
    private  String msg;//实际的信息
    private  int type;

    public Message(String msg, int type) {
        this.msg = msg;
        this.type = type;
    }

    public String getMsg() {
        return msg;
    }

    public int getType() {
        return type;
    }
}
